package org.jgs1904.work.service;

import java.sql.SQLException;

import org.jgs1904.work.dao.UserDao;
import org.jgs1904.work.entity.Users;

/**
 * 用户业务类
 * @author dyf
 * @date 2020年2月4日
 */
public class UserService {
	
	private UserDao userDao = new UserDao();

	public Users login(Users users) throws SQLException {
		return userDao.selectOne(users);
	}

}
